#include <stdio.h>
#include "prefixTree.h"

int main() {
    trieNode_t *root = createNode();

    insert(root, "hello");
    insert(root, "world");

    printf("%s\n", search(root, "hello") ? "Found" : "Not Found");
    printf("%s\n", search(root, "world") ? "Found" : "Not Found");
    printf("%s\n", search(root, "geeks") ? "Found" : "Not Found");

    delete(root, "hello");
    printf("%s\n", search(root, "hello") ? "Found" : "Not Found");
    printf("%s\n", search(root, "world") ? "Found" : "Not Found");

    return 0;
}